package cn.edu.neu.studentmsg_java.dao;

import cn.edu.neu.studentmsg_java.model.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentDao {

    List<Student> selectStudentPart(Student student);

    int deleteStudentById(Integer studentId);

    int insertStudent(Student student);

    int updateStudentById(Student student);

    int selectStudentIdByStudentPart(Student student);

    Student selectStudentByStudentId(Integer student_id);

    String selectStudentNameByStudentId(Integer student_id);
}
